OstreeRepo: add extensions directory
authorJonathan Lebon <jlebon@redhat.com>
Wed, 13 Apr 2016 20:44:21 +0000 (16:44 -0400)
committerColin Walters (automation) <walters+githubbot@verbum.org>
Mon, 9 May 2016 14:43:16 +0000 (14:43 +0000)
commit65e7969b0bd023ccbd532a8e843dbf54341fb2cb
tree999c4737ed6ea92273051fed888fd496b29ec786
parent58532e591731ef5b613c59906e5df1c4ffc7ad69
OstreeRepo: add extensions directory

It's very useful for third-party applications to have someplace to store
their data guaranteed to be on the same device as the repo (thus
ensuring hardlinks) while still being shielded away from any of OSTree's
timely garbage collections.

We create a new "extensions/" subdirectory where apps can include
whatever they wish in "extensions/myapp/". This subdirectory is
completely unmanaged by ostree.

NB: I didn't bother making it a member of the OstreeRepo proper since we
don't really use it for anything else yet.

Closes: #286
Approved by: cgwalters
src/libostree/ostree-repo.c
tests/basic-test.sh